import axios from "axios";

const contentPath = '/marketing/carousel-item'

export const saveBatch = (carouselId: number, items: []) => {
  return axios.post(`${contentPath}/${carouselId}/batch`, items)
}

export const list = (carouselId: number) => {
  return axios.get(`${contentPath}/${carouselId}/list`)
}